package org.jeecg.modules.dock.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.dock.enums.DockDataStatus;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 多系统交互数据发送记录
 * @Author: jeecg-boot
 * @Date:   2023-09-12
 * @Version: V1.0
 */
@Data
@TableName("dock_data_send_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dock_data_send_record对象", description="多系统交互数据发送记录")
public class DockDataSendRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private String delFlag;
	/**来源系统*/
	@Excel(name = "来源系统", width = 15)
    @ApiModelProperty(value = "来源系统")
    private String source;
	/**目标系统*/
	@Excel(name = "目标系统", width = 15)
    @ApiModelProperty(value = "目标系统")
    private String target;
	/**接口业务码*/
	@Excel(name = "接口业务码", width = 15)
    @ApiModelProperty(value = "接口业务码")
    private String businessCode;
	/**唯一编码*/
	@Excel(name = "唯一编码", width = 15)
    @ApiModelProperty(value = "唯一编码")
    private String uuid;
	/**发送时间*/
	@Excel(name = "发送时间", width = 20, format = "yyyyMMdd")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sendTime;
	/**发送数据*/
	@Excel(name = "发送数据", width = 15)
    @ApiModelProperty(value = "发送数据")
    private String data;
	/**发送状态*/
	@Excel(name = "发送状态", width = 15)
    @ApiModelProperty(value = "发送状态")
    private DockDataStatus status;
	/**响应码*/
	@Excel(name = "响应码", width = 15)
    @ApiModelProperty(value = "响应码")
    private String resultCode;
	/**响应数据*/
	@Excel(name = "响应数据", width = 15)
    @ApiModelProperty(value = "响应数据")
    private String resultData;
}
